package com.kaikeba.spring.beans;

public class UserServiceImpl implements UserService {

	private String id;
	private String name;

	public UserServiceImpl() {

	}

	public UserServiceImpl(String id, String name) {
		this.id = id;
		this.name = name;
	}

	@Override
	public void addUser() {
		System.out.println("添加用户成功!" + " id:" + id + " name:" + name);
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
